<extend file='resource/view/home'/>
<style>
    ._head{
        text-align: center;
        background: none;
    }
    ._head h1{
        font-size: 45px;
        margin-bottom: 15px;
    }
</style>
<block name="content">
    <li class="h-article">
            <div class="_head" >
                <h1 >{{$articleData['title']}}</h1>
                作者：<a href="">{{$articleData['author']}}</a>
                发布时间：<time pubdate="pubdate" datetime="{{date('y-m-d',$articleData['sendtime'])}}">{{date('y-m-d',$articleData['sendtime'])}}</time>
            </div>

                <p>
                  {{$articleData['content']}}
                </p>
            <div class="_footer">
                <i class="glyphicon glyphicon-tags"></i>
                <foreach from="$articleData['tag']" key="$k" value="$v">
                    <a href="{{__ROOT__}}/tag/{{$v['tid']}}.html">{{$v['tname']}}</a>、
                </foreach>
            </div>
    </li>
        <div>
            <!-- 多说评论框 start -->
            <div class="ds-thread" data-thread-key="{{$articleData['aid']}}" data-title="{{$articleData['tittle']}}" data-url="{{__ROOT__}}/wz/{{$articleData['aid']}}.html"></div>
            <!-- 多说评论框 end -->
            <!-- 多说公共JS代码 start (一个网页只需插入一次) -->
            <script type="text/javascript">
                var duoshuoQuery = {short_name:"c70-huangduan"};
                (function() {
                    var ds = document.createElement('script');
                    ds.type = 'text/javascript';ds.async = true;
                    ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
                    ds.charset = 'UTF-8';
                    (document.getElementsByTagName('head')[0]
                    || document.getElementsByTagName('body')[0]).appendChild(ds);
                })();
            </script>
            <!-- 多说公共JS代码 end -->
        </div>

</block>